<?php

namespace IDock\Insurance\ZYIC\Request;

use IDock\Insurance\ZYIC\Request\AllZYICRequest;
use IDock\Insurance\ZYIC\Response\CancelPaymentResponse;
use IDock\Insurance\ZYIC\Response\ProposalRecallResponse;
use IDock\Visitor\ProposalRecallVisitor;

class CancelPaymentRequest extends AllZYICRequest
{
    public $route = 'channelInterface/V34';

    protected $response = CancelPaymentResponse::class;

    protected $urlTip = '取消缴费登记';

    /**
     * @var  ProposalRecallVisitor $visitor
     */
    protected $visitor;

    public function generate(): array
    {
        $arr = [
            'exchangeNo' => $this->visitor->argc['exchangeNo'] ?? '',
        ];
        return $arr;
    }
}
